package com.beiding.service;

public interface MessageService {


    //用户下线
    void offline(String name);

    //用户上线
    void online(String name);

    void send(String receiver, String topic, String payload);

    //用户订阅时
    void subscribe(String user, String destination);

}
